import { get, post } from "../utils/request";

export const loadForumsApi = () => get("/api/v1/forums");

export const loadHotPotsAPi = () => get("/api/v1/posts/hot");

export const loadPostsApi = () => get("/api/v1/posts");

export const newPostAPi = (data) => post("/api/v1/posts", data);
